﻿namespace Traffic.Entity;

/// <summary>
/// 用户VIP协议
/// </summary>
public partial class UserDataVipContract
{
    public int Id { get; set; }

    /// <summary>
    /// 对应User_VipInfo.ID
    /// </summary>
    public int VipInfoId { get; set; }

    /// <summary>
    /// VIP等级
    /// </summary>
    public string VipLevel { get; set; } = null!;

    public string? ProTitle { get; set; }

    /// <summary>
    /// 产品名称 Ticket,Appoint,Scope,Flight
    /// </summary>
    public string ProName { get; set; } = null!;

    /// <summary>
    /// 价格规则  直减（DiscountPrice）  百分比（DiscountRatio）
    /// </summary>
    public string PriceRules { get; set; } = null!;

    /// <summary>
    /// 折扣比例 （0.1-1）
    /// </summary>
    public double DiscountRatio { get; set; }

    /// <summary>
    /// 成为会员后服务费收费
    /// </summary>
    public decimal DesServicePrice { get; set; }

    /// <summary>
    /// 优惠项目说明
    /// </summary>
    public string Description { get; set; } = null!;

    /// <summary>
    /// 状态  0：停用   1：正常（默认）
    /// </summary>
    public bool Status { get; set; }
}
